package com.java2.web.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class HelloAnnotatedWorld {
	
	@RequestMapping("/helloa.html")
	public ModelAndView helloAnnotatedWorld() {
		return new ModelAndView("hello", "message", "Hello Annotated World!");
	}
	
}
